\hypertarget{class_political_classifier_1_1_framework_1_1_weight_manager}{\section{Political\-Classifier.\-Framework.\-Weight\-Manager Class Reference}
\label{class_political_classifier_1_1_framework_1_1_weight_manager}\index{Political\-Classifier.\-Framework.\-Weight\-Manager@{Political\-Classifier.\-Framework.\-Weight\-Manager}}
}


\hyperlink{class_political_classifier_1_1_framework_1_1_weight_manager}{Weight\-Manager} class responsible to manage weights in a single application instance.  


Inheritance diagram for Political\-Classifier.\-Framework.\-Weight\-Manager\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{class_political_classifier_1_1_framework_1_1_weight_manager}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_political_classifier_1_1_framework_1_1_weight_manager_abe62633fde2f472b041902a421a7bd7a}{Weight\-Manager} ()
\begin{DoxyCompactList}\small\item\em Construct a weight manager object. \end{DoxyCompactList}\item 
int \hyperlink{class_political_classifier_1_1_framework_1_1_weight_manager_aad1ce9c0e4632d40a9fd43305205297f}{Add\-Weight} (\hyperlink{interface_political_classifier_1_1_support_1_1_i_weight_attribute}{I\-Weight\-Attribute} weight)
\begin{DoxyCompactList}\small\item\em Add weight to a \hyperlink{class_political_classifier_1_1_framework_1_1_weight_manager}{Weight\-Manager}. \end{DoxyCompactList}\item 
void \hyperlink{class_political_classifier_1_1_framework_1_1_weight_manager_ae1a3dd16da9ef3dc1f23cb31203da91c}{Remove\-Weight} (int index)
\begin{DoxyCompactList}\small\item\em Remove weight at a given index. \end{DoxyCompactList}\item 
void \hyperlink{class_political_classifier_1_1_framework_1_1_weight_manager_a942176d58757df2e7038c6ea08bb46af}{Update\-Weight} (\hyperlink{interface_political_classifier_1_1_support_1_1_i_weight_attribute}{I\-Weight\-Attribute} weight\-Attribute)
\begin{DoxyCompactList}\small\item\em Update a value of weight from weight\-Attribute in a \hyperlink{class_political_classifier_1_1_framework_1_1_weight_manager}{Weight\-Manager} \end{DoxyCompactList}\item 
I\-Enumerator$<$ \hyperlink{interface_political_classifier_1_1_support_1_1_i_weight_attribute}{I\-Weight\-Attribute} $>$ \hyperlink{class_political_classifier_1_1_framework_1_1_weight_manager_a845f2b74e0a090f3745c2697ed797ca3}{Get\-Enumerator} ()
\begin{DoxyCompactList}\small\item\em Gets an enumerator over each of the weight attributes. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Properties}
\begin{DoxyCompactItemize}
\item 
\hyperlink{struct_political_classifier_1_1_support_1_1_point2_d}{Point2\-D} \hyperlink{class_political_classifier_1_1_framework_1_1_weight_manager_ae3c23b398287e1b4beddbff479ccb935}{this\mbox{[}\-String name\mbox{]}}\hspace{0.3cm}{\ttfamily  \mbox{[}get\mbox{]}}
\begin{DoxyCompactList}\small\item\em Get weight values using name. \end{DoxyCompactList}\item 
\hyperlink{interface_political_classifier_1_1_support_1_1_i_weight_attribute}{I\-Weight\-Attribute} \hyperlink{class_political_classifier_1_1_framework_1_1_weight_manager_a7a56732a195064a6855643715dd12d57}{this\mbox{[}int index\mbox{]}}\hspace{0.3cm}{\ttfamily  \mbox{[}get\mbox{]}}
\begin{DoxyCompactList}\small\item\em Returns the I\-Weight\-Attribute at the given index. \end{DoxyCompactList}\item 
int \hyperlink{class_political_classifier_1_1_framework_1_1_weight_manager_a28c5f879b98cae1057984e5a33ec7ef5}{Count}\hspace{0.3cm}{\ttfamily  \mbox{[}get\mbox{]}}
\begin{DoxyCompactList}\small\item\em Get count of Weight Manager. \end{DoxyCompactList}\item 
I\-List$<$ \hyperlink{interface_political_classifier_1_1_support_1_1_i_weight_attribute}{I\-Weight\-Attribute} $>$ \hyperlink{class_political_classifier_1_1_framework_1_1_weight_manager_a950f489138d2c7b37a779e40d92038f3}{Weight\-List}\hspace{0.3cm}{\ttfamily  \mbox{[}get\mbox{]}}
\begin{DoxyCompactList}\small\item\em The list of weight attributes. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\hyperlink{class_political_classifier_1_1_framework_1_1_weight_manager}{Weight\-Manager} class responsible to manage weights in a single application instance. 



\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_political_classifier_1_1_framework_1_1_weight_manager_abe62633fde2f472b041902a421a7bd7a}{\index{Political\-Classifier\-::\-Framework\-::\-Weight\-Manager@{Political\-Classifier\-::\-Framework\-::\-Weight\-Manager}!Weight\-Manager@{Weight\-Manager}}
\index{Weight\-Manager@{Weight\-Manager}!PoliticalClassifier::Framework::WeightManager@{Political\-Classifier\-::\-Framework\-::\-Weight\-Manager}}
\subsubsection[{Weight\-Manager}]{\setlength{\rightskip}{0pt plus 5cm}Political\-Classifier.\-Framework.\-Weight\-Manager.\-Weight\-Manager (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_political_classifier_1_1_framework_1_1_weight_manager_abe62633fde2f472b041902a421a7bd7a}


Construct a weight manager object. 



\subsection{Member Function Documentation}
\hypertarget{class_political_classifier_1_1_framework_1_1_weight_manager_aad1ce9c0e4632d40a9fd43305205297f}{\index{Political\-Classifier\-::\-Framework\-::\-Weight\-Manager@{Political\-Classifier\-::\-Framework\-::\-Weight\-Manager}!Add\-Weight@{Add\-Weight}}
\index{Add\-Weight@{Add\-Weight}!PoliticalClassifier::Framework::WeightManager@{Political\-Classifier\-::\-Framework\-::\-Weight\-Manager}}
\subsubsection[{Add\-Weight}]{\setlength{\rightskip}{0pt plus 5cm}int Political\-Classifier.\-Framework.\-Weight\-Manager.\-Add\-Weight (
\begin{DoxyParamCaption}
\item[{{\bf I\-Weight\-Attribute}}]{weight}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_political_classifier_1_1_framework_1_1_weight_manager_aad1ce9c0e4632d40a9fd43305205297f}


Add weight to a \hyperlink{class_political_classifier_1_1_framework_1_1_weight_manager}{Weight\-Manager}. 


\begin{DoxyParams}{Parameters}
{\em weight} & I\-Weight\-Attribute instance\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
returns the index of added weight
\end{DoxyReturn}


Implements \hyperlink{interface_political_classifier_1_1_support_1_1_i_weight_manager_ad6b659a995501c3ceb4d87ca85c2dc27}{Political\-Classifier.\-Support.\-I\-Weight\-Manager}.

\hypertarget{class_political_classifier_1_1_framework_1_1_weight_manager_a845f2b74e0a090f3745c2697ed797ca3}{\index{Political\-Classifier\-::\-Framework\-::\-Weight\-Manager@{Political\-Classifier\-::\-Framework\-::\-Weight\-Manager}!Get\-Enumerator@{Get\-Enumerator}}
\index{Get\-Enumerator@{Get\-Enumerator}!PoliticalClassifier::Framework::WeightManager@{Political\-Classifier\-::\-Framework\-::\-Weight\-Manager}}
\subsubsection[{Get\-Enumerator}]{\setlength{\rightskip}{0pt plus 5cm}I\-Enumerator$<${\bf I\-Weight\-Attribute}$>$ Political\-Classifier.\-Framework.\-Weight\-Manager.\-Get\-Enumerator (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_political_classifier_1_1_framework_1_1_weight_manager_a845f2b74e0a090f3745c2697ed797ca3}


Gets an enumerator over each of the weight attributes. 

\begin{DoxyReturn}{Returns}
An enumerator.
\end{DoxyReturn}
\hypertarget{class_political_classifier_1_1_framework_1_1_weight_manager_ae1a3dd16da9ef3dc1f23cb31203da91c}{\index{Political\-Classifier\-::\-Framework\-::\-Weight\-Manager@{Political\-Classifier\-::\-Framework\-::\-Weight\-Manager}!Remove\-Weight@{Remove\-Weight}}
\index{Remove\-Weight@{Remove\-Weight}!PoliticalClassifier::Framework::WeightManager@{Political\-Classifier\-::\-Framework\-::\-Weight\-Manager}}
\subsubsection[{Remove\-Weight}]{\setlength{\rightskip}{0pt plus 5cm}void Political\-Classifier.\-Framework.\-Weight\-Manager.\-Remove\-Weight (
\begin{DoxyParamCaption}
\item[{int}]{index}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_political_classifier_1_1_framework_1_1_weight_manager_ae1a3dd16da9ef3dc1f23cb31203da91c}


Remove weight at a given index. 


\begin{DoxyParams}{Parameters}
{\em index} & Index of weight to be removed\\
\hline
\end{DoxyParams}


Implements \hyperlink{interface_political_classifier_1_1_support_1_1_i_weight_manager_adde01ba11189a82708ea2c89c1b5383e}{Political\-Classifier.\-Support.\-I\-Weight\-Manager}.

\hypertarget{class_political_classifier_1_1_framework_1_1_weight_manager_a942176d58757df2e7038c6ea08bb46af}{\index{Political\-Classifier\-::\-Framework\-::\-Weight\-Manager@{Political\-Classifier\-::\-Framework\-::\-Weight\-Manager}!Update\-Weight@{Update\-Weight}}
\index{Update\-Weight@{Update\-Weight}!PoliticalClassifier::Framework::WeightManager@{Political\-Classifier\-::\-Framework\-::\-Weight\-Manager}}
\subsubsection[{Update\-Weight}]{\setlength{\rightskip}{0pt plus 5cm}void Political\-Classifier.\-Framework.\-Weight\-Manager.\-Update\-Weight (
\begin{DoxyParamCaption}
\item[{{\bf I\-Weight\-Attribute}}]{weight\-Attribute}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_political_classifier_1_1_framework_1_1_weight_manager_a942176d58757df2e7038c6ea08bb46af}


Update a value of weight from weight\-Attribute in a \hyperlink{class_political_classifier_1_1_framework_1_1_weight_manager}{Weight\-Manager} 


\begin{DoxyParams}{Parameters}
{\em weight\-Attribute} & weight\-Attribute representing a weight name and new values.\\
\hline
\end{DoxyParams}


Implements \hyperlink{interface_political_classifier_1_1_support_1_1_i_weight_manager_ab160b50f99efbb20c9eecedf17bb96c5}{Political\-Classifier.\-Support.\-I\-Weight\-Manager}.



\subsection{Property Documentation}
\hypertarget{class_political_classifier_1_1_framework_1_1_weight_manager_a28c5f879b98cae1057984e5a33ec7ef5}{\index{Political\-Classifier\-::\-Framework\-::\-Weight\-Manager@{Political\-Classifier\-::\-Framework\-::\-Weight\-Manager}!Count@{Count}}
\index{Count@{Count}!PoliticalClassifier::Framework::WeightManager@{Political\-Classifier\-::\-Framework\-::\-Weight\-Manager}}
\subsubsection[{Count}]{\setlength{\rightskip}{0pt plus 5cm}int Political\-Classifier.\-Framework.\-Weight\-Manager.\-Count\hspace{0.3cm}{\ttfamily [get]}}}\label{class_political_classifier_1_1_framework_1_1_weight_manager_a28c5f879b98cae1057984e5a33ec7ef5}


Get count of Weight Manager. 

\hypertarget{class_political_classifier_1_1_framework_1_1_weight_manager_a7a56732a195064a6855643715dd12d57}{\index{Political\-Classifier\-::\-Framework\-::\-Weight\-Manager@{Political\-Classifier\-::\-Framework\-::\-Weight\-Manager}!this\mbox{[}int index\mbox{]}@{this[int index]}}
\index{this\mbox{[}int index\mbox{]}@{this[int index]}!PoliticalClassifier::Framework::WeightManager@{Political\-Classifier\-::\-Framework\-::\-Weight\-Manager}}
\subsubsection[{this[int index]}]{\setlength{\rightskip}{0pt plus 5cm}{\bf I\-Weight\-Attribute} Political\-Classifier.\-Framework.\-Weight\-Manager.\-this\mbox{[}int index\mbox{]}\hspace{0.3cm}{\ttfamily [get]}}}\label{class_political_classifier_1_1_framework_1_1_weight_manager_a7a56732a195064a6855643715dd12d57}


Returns the I\-Weight\-Attribute at the given index. 


\begin{DoxyParams}{Parameters}
{\em index} & The index of the I\-Weight\-Attribute.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The I\-Weight\-Attribute at the index.
\end{DoxyReturn}
\hypertarget{class_political_classifier_1_1_framework_1_1_weight_manager_ae3c23b398287e1b4beddbff479ccb935}{\index{Political\-Classifier\-::\-Framework\-::\-Weight\-Manager@{Political\-Classifier\-::\-Framework\-::\-Weight\-Manager}!this\mbox{[}\-String name\mbox{]}@{this[String name]}}
\index{this\mbox{[}\-String name\mbox{]}@{this[String name]}!PoliticalClassifier::Framework::WeightManager@{Political\-Classifier\-::\-Framework\-::\-Weight\-Manager}}
\subsubsection[{this[String name]}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Point2\-D} Political\-Classifier.\-Framework.\-Weight\-Manager.\-this\mbox{[}String name\mbox{]}\hspace{0.3cm}{\ttfamily [get]}}}\label{class_political_classifier_1_1_framework_1_1_weight_manager_ae3c23b398287e1b4beddbff479ccb935}


Get weight values using name. 


\begin{DoxyParams}{Parameters}
{\em name} & name of the weightattribute.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}
\hypertarget{class_political_classifier_1_1_framework_1_1_weight_manager_a950f489138d2c7b37a779e40d92038f3}{\index{Political\-Classifier\-::\-Framework\-::\-Weight\-Manager@{Political\-Classifier\-::\-Framework\-::\-Weight\-Manager}!Weight\-List@{Weight\-List}}
\index{Weight\-List@{Weight\-List}!PoliticalClassifier::Framework::WeightManager@{Political\-Classifier\-::\-Framework\-::\-Weight\-Manager}}
\subsubsection[{Weight\-List}]{\setlength{\rightskip}{0pt plus 5cm}I\-List$<${\bf I\-Weight\-Attribute}$>$ Political\-Classifier.\-Framework.\-Weight\-Manager.\-Weight\-List\hspace{0.3cm}{\ttfamily [get]}}}\label{class_political_classifier_1_1_framework_1_1_weight_manager_a950f489138d2c7b37a779e40d92038f3}


The list of weight attributes. 



The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
C\-:/\-Users/\-Jonathan.\-De\-Carlo/\-Source/\-Repos/\-Political\-Classifier/src/\-Political\-Classifier.\-Framework/Weight\-Manager.\-cs\end{DoxyCompactItemize}
